<extend name="Index/index" />

<block name="include">
    <script src="__PUBLIC__/Admin/js/pintuer.js"></script>
</block>

<block name="main">
    
    <div >
        <table class="table table-hover text-center">
            <thead>
            <tr>
                <th>#</th>
                <th>用户名</th>
                <th>email</th>
                <th>真实姓名</th>
                <th>年龄</th>
                <th>性别</th>
                <th>QQ通行证</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <foreach  name='data' item='vo' key="k" >
            <tr class="active">
                <th scope="row"><{$k+1}></th>
                <td><{$vo.username}></td>
                <td><{$vo.email}></td>
                <td><{$vo.name}></td>
                <td><{$vo.age}></td>
                <td>
                    <if condition="$vo.sex neq 0">
                        <if condition="$vo.sex eq 1">
                            <a href="#" id="sex-a">男</a>
                            <else />   <a href="#" id="sex-a">女</a>
                        </if>
                        <else /> 未知
                    </if>
                </td>
                <td><{$vo.qqid}></td>
                <td>
                    <div class="button-group">
                        <a href ="#" class="button border-main">
                        <span class="icon-edit"></span> 编辑</a>  
                        <a href ="#" class="button border-red"> <span class="icon-trash-o"></span>删除</a>
                    </div>
                </td>
            </tr>
            </foreach>
            </tbody>
        </table>
        <{$page}>
    </div>


</block>